<template>
	<div>
		<van-image :class="data.active?'active':''" fit="contain" :src="url" :show-loading="false" />
	</div>
</template>

<script>
	export default{
		props:{
			data: {
				type: Object,
				default () {
					return {}
				}
				
			}
		},
		data(){
			return {
				url: 'https://img.yzcdn.cn/vant/cat.jpeg'
			}
		},
		methods:{
			
		}
	}
</script>

<style>
	/* .active{outline: 1px dashed  #40fdff} */
</style>
